<template>
    <div>
        <h2>home</h2>
        <button v-style>click</button>
        <div v-css v-style>hello home</div>
    </div>
</template>
<script>
export default {
    directives: {
        css: function (el) {
            el.style.border = "solid"
        }
    }
}
</script>